<?php

namespace app\ymsh\model;

use app\common\facade\auth\Auth;
use think\Exception;

class Order extends \app\model\Order
{
    public function unionList($params)
    {

        $model = new CouponOrder();
        $params['platform'] = Auth::platform();
//        $params['agent_id'] = -1;
        $data = $model->couponOrderList($params);
        return $data;

    }
}